<html>
<head>

	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

    	<title>Classes</title>

    	<link rel="stylesheet" type="text/css" href="style.css"/>

<?php

include("function.php");

extract($_POST);

$url = 'genome.hunter.cuny.edu:9998/class';
$post["class_name"] = $class;
$jpost = json_encode($post);

$result = curl_Post($url, $jpost);
?>
</head>
<body>

	<div id="container">
		<?php
			/*******Header*******/
			include("header.php");
		?>
		
	<div id="wrapper">
	<div class = "set_rgt">

	<h2>Thank You</h2>
	<p>Thank you for adding a class</p>
	<p><? print $result; ?></p>
	
	
	</div>
	</div>

		<?php
			/***Side Navigation***/
			include("sidebar.php");

			/****Extra Content***/
			include("extra.php");

			/*******Footer*******/
			include("footer.php");
		?>
	</div>


</body>
</html>

                
                

